<div class="autoscroll">
<table class="list">
  <thead>
	<tr>
	  <th><%= sortable "title" %></th>
	  <th><%= sortable "created_at", "Created" %></th>
	  <th><%= sortable "updated_at", "Updated" %></th>
	</tr>
  </thead>
  <tbody>
    <% articles.each do |article| %>
    <tr id="article-<%= article %>" class="<%= cycle('odd', 'even') %>">
      <td class="title">
        <%= link_to article.title, { :controller => 'articles', 
                                     :action => 'show', 
                                     :id => article.id, 
                                     :project_id => @project} %> 
        <% unless redmine_knowledgebase_settings_value(:disable_article_summaries) %>
          <br/> 
          <div class="summary">
            <%= article.summary %>
          </div>
        <% end %>
      </td>
      <td class="created_at"><%= time_ago_in_words article.created_at %> ago</td>
      <td class="updated_at"><%= time_ago_in_words article.updated_at %> ago</td>
	</tr>
	<% end %>
  </tbody>
</table>
</div>
